/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Li Wen, 2008-01-02
 * @Version: 080102.001
 * Edit item event. There are 4 types for edit item event.
 * "editPackage" "editItinerary" "editAttraction" "editPhoto"
 */
package com.ibsol.event
{
	import flash.events.Event;

	public class EditItemEvent extends Event
	{
		public static const PACKAGE:String = "editPackage";
		public static const ITINERARY:String = "editItinerary";
		public static const ATTRACTION:String = "editAttraction";
		public static const PHOTO:String = "editPhoto";
		public static const VIDEO:String = "editVideo";
		//edited item's id & name
		//The package will pass the itinerary id array
		//The itinerary will pass the attraction id array
		public var id:uint;
		public var name:String;
		public var idArray:Array;
		public var delObjArray:Array;
		
		public function EditItemEvent(type:String, id:uint, name:String, idArray:Array = null, delObjArray:Array = null)
		{
			super(type, true);
			this.id = id;
			this.name = name;
			this.idArray = idArray;
			this.delObjArray = delObjArray;
		}
	}
}